<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>BMI计算</title>
</head>
<body>
<h1>BMI 计算器</h1>
<form action = "./mybmi"  method="POST">
    <p>
        体重（KG）:<input type="text" name="weight">
        身高（M）：<input type="text" name = "height">
        <input type="submit" value="计算">
    </p>
</form>
<h2>{{ bmi }}</h2>

</body>
</html>